/*
 * @Description: 获取自身版本
 * @Author: 听风
 * @Date: 2020-12-22 11:38:14
 */
const path = require('path');
const config = require('./config');

const { pkgBasePath } = config;

const pkgPath = path.join(pkgBasePath, '../package.json');

module.exports = require(pkgPath).version;
